package ru.ipo.dces.utils;

import java.io.Closeable;
import java.io.IOException;

/**
 * Created by IntelliJ IDEA.
 * User: ilya
 * Date: 28.03.11
 * Time: 20:38
 */
public class IOUtils {

    private IOUtils() {
    }

    public static void closeQuietly(Closeable closeable) {
        if (closeable == null)
            return;

        try {
            closeable.close();
        } catch (IOException ignored) {
            //do nothing
        }
    }

}
